﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using WORD = Microsoft.Office.Interop.Word;
using System.Windows.Xps.Packaging;
using Microsoft.Win32;
using System.IO;
using System.Xml;
using System.IO.Packaging;

namespace intelliSys.Management.Automation.Test
{
    /// <summary>
    /// Interaction logic for Viewer.xaml
    /// </summary>
    public partial class Viewer : Window
    {
        public Viewer()
        {
            this.InitializeComponent();
            this.MouseLeftButtonDown += new MouseButtonEventHandler(Viewer_MouseLeftButtonDown);
        }

        void Viewer_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            this.DragMove();
        }


        private void Button_Click(object sender, RoutedEventArgs e)
        {
            viewer.Load(Clipboard.GetData("intelliSys.Management.Automation.Test").ToString());
        }
    }
}